<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SWM34S_LVGL7.11_SWMUI: C:/Users/DELL/Desktop/Commit/lvgl/SWM34S_LVGL7.11_SWMUI_20230515/APP/Software_Parser/jfif_parser.c 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SWM34S_LVGL7.11_SWMUI<span id="projectnumber">&#160;V7.9</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.5 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_0ca16891106f5a3e9ad635a0d6c5f98f.html">APP</a></li><li class="navelem"><a class="el" href="dir_1f0f7ecfcd3eb0933dd9ad093070e0ed.html">Software_Parser</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">函数</a> &#124;
<a href="#var-members">变量</a>  </div>
  <div class="headertitle"><div class="title">jfif_parser.c 文件参考</div></div>
</div><!--header-->
<div class="contents">

<p>jpeg 图片 jfif 格式解析  
<a href="#details">更多...</a></p>
<div class="textblock"><code>#include &lt;string.h&gt;</code><br />
<code>#include &quot;<a class="el" href="jfif__parser_8h_source.html">jfif_parser.h</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
jfif_parser.c 的引用(Include)关系图:</div>
<div class="dyncontent">
<div class="center"><img src="jfif__parser_8c__incl.png" border="0" usemap="#a_c_1_2_users_2_d_e_l_l_2_desktop_2_commit_2lvgl_2_s_w_m34_s___l_v_g_l7_811___s_w_m_u_i__20230515_2_a_p_p_2_software___parser_2jfif__parser_8c" alt=""/></div>
<map name="a_c_1_2_users_2_d_e_l_l_2_desktop_2_commit_2lvgl_2_s_w_m34_s___l_v_g_l7_811___s_w_m_u_i__20230515_2_a_p_p_2_software___parser_2jfif__parser_8c" id="a_c_1_2_users_2_d_e_l_l_2_desktop_2_commit_2lvgl_2_s_w_m34_s___l_v_g_l7_811___s_w_m_u_i__20230515_2_a_p_p_2_software___parser_2jfif__parser_8c">
<area shape="rect" title="jpeg 图片 jfif 格式解析" alt="" coords="5,5,228,75"/>
<area shape="rect" title=" " alt="" coords="33,123,99,148"/>
<area shape="rect" href="jfif__parser_8h.html" title="jpeg 图片 jfif 格式解析" alt="" coords="123,123,211,148"/>
<area shape="rect" title=" " alt="" coords="124,196,211,221"/>
</map>
</div>
</div>
<p><a href="jfif__parser_8c_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:abf9f65ef7651d67c735920acc808427a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="jfif__parser_8c.html#abf9f65ef7651d67c735920acc808427a">jfif_parse</a> (const uint8_t buf[], uint32_t len, jfif_info_t *jfif_info)</td></tr>
<tr class="memdesc:abf9f65ef7651d67c735920acc808427a"><td class="mdescLeft">&#160;</td><td class="mdescRight">JPEG 图片解析 JFIF 格式  <a href="jfif__parser_8c.html#abf9f65ef7651d67c735920acc808427a">更多...</a><br /></td></tr>
<tr class="separator:abf9f65ef7651d67c735920acc808427a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="var-members" name="var-members"></a>
变量</h2></td></tr>
<tr class="memitem:ad5869f8e3b141200c34cb4541329a8b2"><td class="memItemLeft" align="right" valign="top">jfif_info_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="jfif__parser_8c.html#ad5869f8e3b141200c34cb4541329a8b2">JFIF_Info</a></td></tr>
<tr class="memdesc:ad5869f8e3b141200c34cb4541329a8b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">JFIF 格式解析信息  <a href="jfif__parser_8c.html#ad5869f8e3b141200c34cb4541329a8b2">更多...</a><br /></td></tr>
<tr class="separator:ad5869f8e3b141200c34cb4541329a8b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p >jpeg 图片 jfif 格式解析 </p>
<p >/ </p><dl class="section since"><dt>自从</dt><dd>Change Logs: Date Author Notes 2022-12-08 lk the first version</dd></dl>
<dl class="section attention"><dt>注意</dt><dd></dd></dl>
<p>THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS A RESULT, SYNWIT SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION CONTAINED HEREIN IN CONN- -ECTION WITH THEIR PRODUCTS.</p>
<dl class="section copyright"><dt>版权所有</dt><dd>2012 Synwit Technology </dd></dl>

<p class="definition">在文件 <a class="el" href="jfif__parser_8c_source.html">jfif_parser.c</a> 中定义.</p>
</div><h2 class="groupheader">函数说明</h2>
<a id="abf9f65ef7651d67c735920acc808427a" name="abf9f65ef7651d67c735920acc808427a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abf9f65ef7651d67c735920acc808427a">&#9670;&#160;</a></span>jfif_parse()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int jfif_parse </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>buf</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">jfif_info_t *&#160;</td>
          <td class="paramname"><em>jfif_info</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>JPEG 图片解析 JFIF 格式 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">buf</td><td>: 待解析源数据缓冲区 </td></tr>
    <tr><td class="paramname">len</td><td>: 待解析数据大小 </td></tr>
    <tr><td class="paramname">jfif_info</td><td>: 格式解析完成后的输出信息 </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">JFIF_RES_OK</td><td>: 格式解析成功 </td></tr>
    <tr><td class="paramname">JFIF_FORMAT_ERR</td><td>: 格式解析错误 </td></tr>
    <tr><td class="paramname">JFIF_NO_SUPPORT</td><td>: 格式不支持 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>注解</dt><dd>仅支持 JFIF 格式. </dd></dl>

<p class="definition">在文件 <a class="el" href="jfif__parser_8c_source.html">jfif_parser.c</a> 第 <a class="el" href="jfif__parser_8c_source.html#l00037">37</a> 行定义.</p>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="jfif__parser_8c_abf9f65ef7651d67c735920acc808427a_icgraph.png" border="0" usemap="#ajfif__parser_8c_abf9f65ef7651d67c735920acc808427a_icgraph" alt=""/></div>
<map name="ajfif__parser_8c_abf9f65ef7651d67c735920acc808427a_icgraph" id="ajfif__parser_8c_abf9f65ef7651d67c735920acc808427a_icgraph">
<area shape="rect" title="JPEG 图片解析 JFIF 格式" alt="" coords="2047,196,2120,221"/>
<area shape="rect" href="dev__jpeg_8c.html#ac0e9fc8534c961b9dbba6ad4b8e8b61e" title="JPEG 硬件解码" alt="" coords="1904,196,1999,221"/>
<area shape="rect" href="load__mv_8c.html#a3a29f68f2d856a9c2eea3a328d5233e8" title="解码 avi 视频播放" alt="" coords="1728,171,1835,196"/>
<area shape="rect" href="load__file_8c.html#a19787671d1d62339e0cf53a1b1f7ab98" title="加载图片信息至 SDRAM 内" alt="" coords="1707,220,1856,245"/>
<area shape="rect" href="load__file_8c.html#a2efc2116dbabe389a95c812f9dc6aa03" title="加载资源至 SDRAM 内" alt="" coords="1505,220,1659,245"/>
<area shape="rect" href="ui__event_8c.html#a5d0714ab1f8d703a7a6aa480a25ba608" title="GIF 轮播刷新任务(用于 M0 芯片素材显示)" alt="" coords="1365,296,1457,321"/>
<area shape="rect" href="ui__event_8c.html#ac098d7daab78175856fe3d9f75df0347" title="进入 M0 / M4 SHOW 页前的资源准备" alt="" coords="1171,245,1309,271"/>
<area shape="rect" href="setup__scr__home_8c.html#a9e86b57f14343f1fdf1b6450fbcdef08" title="创建主桌面" alt="" coords="331,295,449,320"/>
<area shape="rect" href="ui__event_8c.html#a443210034526535b309f60ac9de63be6" title="GIF 轮播刷新任务(用于 M4 芯片素材显示)" alt="" coords="1365,195,1457,220"/>
<area shape="rect" href="ui__event_8c.html#a58f9ab749ec978cf6b8533ef55bf1045" title="产品应用演示 GIF 轮播刷新任务" alt="" coords="1367,345,1455,371"/>
<area shape="rect" href="ui__event_8c.html#a9a58add9c7451890f77c03ad8136b20d" title="中文字体 与 GIF 轮播演示 任务" alt="" coords="1367,93,1455,119"/>
<area shape="rect" href="ui__event_8c.html#a22a386f4f548c71737aba2415eba22fd" title="开始/暂停 按钮" alt="" coords="1181,80,1299,105"/>
<area shape="rect" href="ui__event_8c.html#aad0d0389b8cba40e9e02c141ce143196" title="上一张 / 下一张 按钮" alt="" coords="1163,5,1317,31"/>
<area shape="rect" href="ui__event_8c.html#ae6df285ba38cc8bc750993fa625b328a" title="进入 PP 页前的资源准备" alt="" coords="1185,395,1295,420"/>
<area shape="rect" href="ui__boot_8c.html#ad915e3f7b5aab86e375414a5844c500a" title="挂载文件系统以完成本地素材检测, 并将其导入至 SDRAM , 同时实现开机动画/视频效果" alt="" coords="358,433,422,459"/>
<area shape="rect" href="ui__event_8c.html#aa79ab1e226edfa66cf11eb85278bbc62" title="M0 页 跳转 M0_SHOW 页的按钮回调" alt="" coords="963,245,1107,271"/>
<area shape="rect" href="ui__event_8c.html#a4cc241fe1f2755f3c46c7dadbd3f58e2" title="M4 页 跳转 M4_SHOW 页的按钮回调" alt="" coords="963,295,1107,320"/>
<area shape="rect" href="ui__event_8c.html#a3d4333831962ec3ffc6e449faad388f7" title="主桌面 M0 页注册事件回调" alt="" coords="719,245,901,271"/>
<area shape="rect" href="setup__home__page__m0_8c.html#aa198ac34b1b6fa9f86d497cc3baf1d19" title="创建 M0 页" alt="" coords="504,245,657,271"/>
<area shape="rect" href="ui_8c.html#a42bb09ef137aaeb1733173f3a88ccc85" title="UI 初始化" alt="" coords="227,307,283,332"/>
<area shape="rect" href="main_8c.html#a8f1efe6291a27ae9b326f0c8a236c102" title="Go to User App Execute" alt="" coords="104,357,179,383"/>
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title="C_Main" alt="" coords="5,357,56,383"/>
<area shape="rect" href="ui__event_8c.html#a6dbae8eeb24298bef6c9090399d4f88c" title="主桌面 M4 页注册事件回调" alt="" coords="719,295,901,320"/>
<area shape="rect" href="setup__home__page__m4_8c.html#afb77653567b2b50aef74a97266462f0c" title="创建 M4 页" alt="" coords="504,295,657,320"/>
<area shape="rect" href="ui__event_8c.html#a052ee01ff73acb520e9ea854151fbdd2" title="进入 PD 页前的资源准备" alt="" coords="1185,345,1295,371"/>
<area shape="rect" href="ui__event_8c.html#a58a9ebadd92a9ee7765fea889ed07073" title="主桌面下 Home 页四个跳转按钮的事件回调" alt="" coords="956,345,1115,371"/>
<area shape="rect" href="ui__event_8c.html#a4f51ebc6c5bd5d4bdc6e80e1d5b3f554" title="tabview 的事件回调" alt="" coords="974,395,1097,420"/>
<area shape="rect" href="ui__event_8c.html#ac0feb967035c8b6b1949cd42c92cbc69" title="主桌面 Home 页注册事件回调" alt="" coords="712,344,908,369"/>
<area shape="rect" href="setup__home__page__home_8c.html#a236ec2e4ba252c597a6c8d695eb5e825" title="创建 Home 页" alt="" coords="497,344,664,369"/>
<area shape="rect" href="ui__event_8c.html#aab07f167804a29f9a34de078552c2fee" title="主桌面注册事件回调" alt="" coords="507,393,654,419"/>
<area shape="rect" href="ui__event_8c.html#ad1d3e81dc6359afc038bd1472b162e25" title="Picture 页 GIF 操作按钮回调 &#45; 左/中/右" alt="" coords="966,80,1105,105"/>
<area shape="rect" href="ui__event_8c.html#a4e9e72dc1392fbfa791b66d58f43cad0" title="主桌面 PP 页注册事件回调" alt="" coords="721,80,899,105"/>
<area shape="rect" href="setup__home__page__pp_8c.html#a2dc049611b8a6a5e649913c9ead4dc72" title="创建 Picture 页" alt="" coords="506,93,655,119"/>
</map>
</div>

</div>
</div>
<h2 class="groupheader">变量说明</h2>
<a id="ad5869f8e3b141200c34cb4541329a8b2" name="ad5869f8e3b141200c34cb4541329a8b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad5869f8e3b141200c34cb4541329a8b2">&#9670;&#160;</a></span>JFIF_Info</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">jfif_info_t JFIF_Info</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>JFIF 格式解析信息 </p>

<p class="definition">在文件 <a class="el" href="jfif__parser_8c_source.html">jfif_parser.c</a> 第 <a class="el" href="jfif__parser_8c_source.html#l00025">25</a> 行定义.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
</small></address>
</body>
</html>
